package cn.edu.fzu.homemaking.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.edu.fzu.homemaking.domain.entity.SysCity;
import cn.edu.fzu.homemaking.mapper.SysCityMapper;
import cn.edu.fzu.homemaking.service.SysCityService;

/**
 * @Author jiebin
 * @Date 2023/4/4
 */
@Service("cityService")
public class SysCityServiceImpl implements SysCityService {

    @Resource
    private SysCityMapper sysCityMapper;
    @Override
    public List<SysCity> list(Long provinceId) {
        return sysCityMapper.list(provinceId);
    }
}
